﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Zatify.Domain.Data;

namespace Zatify.WebUI.Models
{
    public class NewPromotionViewModel//NewPromotionStep5ViewModel
    {
        public int PromotionId { get; set; }

        public decimal PromotionCompaignCost { get; set; }
        public decimal PromotionCompaignFlatFees { get; set; }

        public Promotion Promotion { get; set; }

        public decimal CategoriesCostFlatFee { get; set; }
        public decimal ProximityCostFlatFee { get; set; }
        public decimal TimingCostFlatFee { get; set; }
        
        public decimal CategoriesCostPerPush { get; set; }
        public decimal ProximityCostPerPush { get; set; }
        public decimal TimingCostPerPush { get; set; }

        //public List<Category> Categories { get; set; }

        public List<Category> PromotionCategories { get; set; }

        public int ProximityRadius { get; set; }

        //Timing Text

        public decimal Budget { get; set; }
        public int MaxPushes { get; set; }
        public string Name { get; set; }
        public string Text { get; set; }

        public string SelectedRadiusText { get; set; }
        public string SelectedTimingText { get; set; }

        public bool SingleUseOnly { get; set; }
        public string Match { get; set; }

        public NewPromotionViewModel()
        {
            Match = "ALL";
        }
    }
}